#ifndef IMPROFILEWIDGET_H_
#define IMPROFILEWIDGET_H_

#include <QtGui/QMainWindow>
#include <QtCore/QMap>

class QtProperty;
class QtVariantProperty;
class ImProfileControl;
class QComboBox;

class ImProfileWidget : public QWidget
{
	Q_OBJECT
public:
	ImProfileWidget(QWidget *parent = 0);
	~ImProfileWidget();

private:
	void init();
	void initGroup();
	void initProfile();

private slots:
	void initProfileByGroup(const QString &groupName);

public slots:
	void profileChange(int index);

public:
	ImProfileControl *m_profileCtrl;

private:
	QComboBox *m_profileCombox;
	QComboBox *m_groupCombox;

};
#endif